
const routers = [
  {
    path: '/',
    name: 'Home',
    component: () => import('@/view/Home'),
    meta: {title: '首页'}
  },
  {
    path: '/clueIndex',
    name: 'ClueIndex',
    component: () => import('@/view/clue/index'),
    meta: {title: '线索'}
  },
  {
    path: '/clueDetail/:id',
    name: 'ClueDetail',
    component: () => import('@/view/clue/clueDetail'),
    meta: {title: '线索详情'},
    props: true
  },
  {
    path: '/updateCompany/:id',
    name: 'UpdateCompany',
    component: () => import('@/view/clue/updateCompany'),
    meta: {title: '修改企业信息'},
    props: true
  },
  {
    path: '/businessIndex',
    name: 'BusinessIndex',
    component: () => import('@/view/business/index'),
    meta: {title: '商机'}
  },
  {
    path: '/businessDetail/:id',
    name: 'BusinessDetail',
    component: () => import('@/view/business/businessDetail'),
    meta: {title: '商机详情'},
    props: true
  },
  {
    path: '/customerIndex',
    name: 'CustomerIndex',
    component: () => import('@/view/customer/index'),
    meta: {title: '客户'}
  },
  {
    path: '/customerDetail/:id',
    name: 'CustomerDetail',
    component: () => import('@/view/customer/customerDetail'),
    meta: {title: '客户详情'},
    props: true
  }
]
export default routers
